package com.cnhis.cloudhealth.clinical.clidoctor.patientsearch.service;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.cnhis.cloudhealth.clinical.clidoctor.patientsearch.bo.PatientSearchBo;
import com.cnhis.cloudhealth.commons.Mappers.ModelVo;
import java.util.HashMap;


/**
 * 
 * @author Administrator
 *
 */
@Service
public class PatientSearchImpl implements IPatientSearch {
	@Autowired
	private PatientSearchBo patientSearchBo;
	@Override
	public ModelVo queryWaitingAndTransferTreatment(Map map,int  currPage, int pageSize) throws Exception {
        
		return patientSearchBo.queryWaitingAndTransferTreatment(map, currPage, pageSize);
	}

	@Override
	public ModelVo queryVisitDoctor(Map map)
			throws Exception {
		return patientSearchBo.queryVisitDoctor(map);
	}
	
	@Override
	public ModelVo queryAllJiezhen(Map map)
	    throws Exception {
	    return patientSearchBo.queryAllJiezhen(map);
	}
	
	@Override
	public ModelVo queryPatientSickCondition() throws Exception{
		return patientSearchBo.querySearchSickCondition();
	}
	@SuppressWarnings({ "rawtypes", "unchecked" })
	@Override
	public ModelVo doctorAdvicePatient(Map map,int  currPage, int pageSize) throws Exception {
		return patientSearchBo.getDoctorAdvicePatient(map, currPage, pageSize);
	}
	
	@Override
	public ModelVo getPinYinCodeSearch(Map map,int  currPage, int pageSize) throws Exception{
		return patientSearchBo.getPinYinCodeSearch(map, currPage, pageSize);
	}
	@Override
	public ModelVo findDepartments(Map map)throws Exception{
		return patientSearchBo.findDepartments(map);
	}
	@Override
	public ModelVo getPatientInfo(Map map) throws Exception{
		return patientSearchBo.getPatientInfo(map);
	}
	@Override
	public ModelVo patientOrderSubsequentVisitItemDemand(Map map,int currPage,int pageSize)throws Exception{
		return patientSearchBo.patientOrderSubsequentVisitItemDemand(map, currPage, pageSize);
	}

	@Override
	public ModelVo getPatientByVIPId(Map map) throws Exception {
		
		return patientSearchBo.getPatientByVIPId(map);
	}
	@Override
	public ModelVo findWaitDoctorPatient(Map map)throws Exception{
		return patientSearchBo.findWaitDoctorPatient(map);
	}
	@Override
	public ModelVo findSeeDoctorPatient(Map map)throws Exception{
		return patientSearchBo.findSeeDoctorPatient(map);
	}
	@Override
	public ModelVo simpleRegisterSearchPatient(Map map)throws Exception{
		return patientSearchBo.simpleRegisterSearchPatient(map);
	}
	@Override
	public ModelVo medicalSearchPatient(Map map)throws Exception{
		return patientSearchBo.medicalSearchPatient(map);
	}
	@Override
	public ModelVo seeDoctorHistory(Map map)throws Exception{
		return patientSearchBo.seeDoctorHistory(map);
	}

	@Override
	public ModelVo isMedicalInsurance(Map map) throws Exception {
		
		return patientSearchBo.isMedicalInsurance(map);
	}

    @Override
    public ModelVo findDepartmentsZhuyuan()
        throws Exception
    {
        return patientSearchBo.findDepartmentsZhuyuan();
    }

    @Override
    public ModelVo findPatentVao1List(HashMap map)
        throws Exception
    {
        return patientSearchBo.findPatentVao1List(map);
    }

    @Override
    public ModelVo findSysparams(HashMap hs)
        throws Exception
    {
        return patientSearchBo.findSysparams(hs);
    }

    @Override
    public ModelVo updateAllSysparams(HashMap hs)
        throws Exception
    {
        return patientSearchBo.updateAllSysparams(hs);
    }

    @Override
    public ModelVo findYaofang(HashMap hs)
        throws Exception
    {
        return patientSearchBo.findYaofang(hs);
    }

    @Override
    public ModelVo findSysparams1(HashMap hs)
        throws Exception
    {
        return patientSearchBo.findSysparams1(hs);
    }

    @Override
    public ModelVo querywaitingandtransfertreatment_one(HashMap hs)
        throws Exception
    {
        return patientSearchBo.querywaitingandtransfertreatment_one(hs);
    }

    @Override
    public ModelVo updateUserParams_cancel(HashMap hs)
        throws Exception
    {
        return patientSearchBo.updateUserParams_cancel(hs);
    }

    @Override
    public ModelVo findDepartments2(Map map)
        throws Exception
    {
        return patientSearchBo.findDepartments2(map);
    }

    @Override
    public ModelVo findYaofang1(HashMap hs)
        throws Exception
    {
        return patientSearchBo.findYaofang1(hs);
    }

    @Override
    public ModelVo queryVac34(HashMap hs)
        throws Exception
    {
        return patientSearchBo.queryVac34(hs);
    }

    @Override
    public ModelVo queryVaj1ByVac01(HashMap hs)
        throws Exception
    {
        return patientSearchBo.queryVaj1ByVac01(hs);
    }
}
